package com.link.base.base.duty.service;

import javax.annotation.Resource;

import com.link.base.base.duty.dao.mybatis.mapper.DutyClientMapper;
import org.springframework.stereotype.Service;
import com.link.base.base.duty.model.DutyClient;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  黄龙建
 * @date:   2018-09-19
 * @version 1.0
 */

@Service
public class DutyClientServiceImpl extends BasicServiceImpl<DutyClient> implements DutyClientService {

    @Resource
    private DutyClientMapper dutyClientMapper;
    
    @Override
    public BasicMapper<DutyClient> getBasicMapper() {
        return dutyClientMapper;
    }

    @Override
    public void delClientOfDuty(DutyClient dutyClient) throws Exception {
        dutyClientMapper.delClientOfDuty(dutyClient);
    }
}

